package rttest;

public class Thread extends java.lang.Thread{

	private Runnable thread;
	public Thread(java.lang.Thread thread)
	{
		super();
		this.thread = thread;
	}
	
	//@Override
	public void run()
	{
		if(thread instanceof RealtimeThread)
		{
			((RealtimeThread)thread).setTID(NativeHelper.gettid());
		}
		thread.run();
	}
}
